import random
print(int(''.join((random.sample(list("12345678"), 6)))))